<?php
define('NOCITYCODE', TRUE);
include '../inc/common.inc.php';
include './include/global.func.php';
$lang = include './include/lang.inc.php';


if(!check_wap()){
	//header('location:../');
}

$acode = $acode ? $acode : $citycode;

if(!$acode){
    header('location:citylist.php');
}


$cityname = areaname($acode);
$cityparam = "&amp;acode=$acode";
$cityparamindex = "?acode=$acode";


$title = iconv('gbk', 'utf-8', $DC['sitename']);
wmlHeader($title);
$html = '';

$action = isset($action) && !empty($action) ? $action : 'index';
if($action) 
{
	include './include/'.$action.'.inc.php';
}

$html =  iconv('gbk', 'utf-8', $html);
echo str_replace('<br/>', "<br/>\n", $html);

wmlFooter();
?>